package com.zcl.service.Impl;

import com.zcl.mapper.ClassesMapper;
import com.zcl.pojo.Classes;
import com.zcl.service.ClassesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassesServiceImpl implements ClassesService {
    @Autowired
    private ClassesMapper classesMapper;
    @Override
    public List<Classes> findAll() {
        //查询所有班级
       return classesMapper.selectAll();
    }
}
